﻿// <copyright file="DataStorageType.cs" company="Sinclair Community College">
// Copyright 2010 Sinclair Community College
// </copyright>
// <originalAuthor>Patrick S. Seymour (patrick.seymour@gmail.com)</originalAuthor>

namespace SinclairCC.AppV
{
    /// <summary>
    /// Indicates the format of the data storage region of a container.
    /// </summary>
    [System.Flags]
    public enum DataStorageType : ushort
    {
        /// <summary>
        /// The data storage type is not applicable.
        /// </summary>
        /// <remarks>
        /// This value indicates a container with type ID of CONTAINER_RESERVED.
        /// </remarks>
        NOT_APPLICABLE = 0x00000000,

        /// <summary>
        /// The container contains raw data.
        /// </summary>
        FORMAT_RAW = 0x00000001,

        /// <summary>
        /// The data structure is inline within the container pointed to by the Data member.
        /// </summary>
        FORMAT_INLINE = 0x00000010,

        /// <summary>
        /// The data structure is in a storage block outside of this container.
        /// </summary>
        /// <remarks>
        /// The Data member points to the storage block containing the data.
        /// </remarks>
        FORMAT_BLOCKMAP = 0x00000020
    }
}
